package net.techwatch.jpa.dao;

import java.util.List;

import javax.persistence.Query;

import net.techwatch.jpa.entity.Job;

public class JobDao extends JpaDao<Long, Job> implements IJobDao {

	public JobDao() {
		// nothing to do
	}

	public List<Job> findAll() {
		Query query = getEntityManager().createQuery("select j from Job as j");
		return query.getResultList();
	}
}
